function [img_proc]=lowLevelImgProc(img)
%--------------------------------------------------------------------------
% Low Level Image Processing Function, responsible for initial filtering.
% Pre-processing occurs here.
%--------------------------------------------------------------------------
% @Parameters:
%               img       ... current frame obtained from video-read stage
%
%    @Returns:
%               img_proc  ... output image after pre-processing
%--------------------------------------------------------------------------

% convert to grayscale and apply 3x3 median filter
img = rgb2gray(img);
img_proc = medfilt2(img,[3 3]);

end
